<template>
    <div>
        <h2>房号添加</h2>
        <table>
            <tbody>
                <tr>
                    <td>房号名称</td>
                    <td><input type="text" ></td>
                </tr>
                <tr>
                    <td>房型</td>
                    <td><select>
                        <option>标准间</option>
                        <option>商务间</option>
                        <option>豪华间</option>
                    </select></td>
                </tr>
                <tr>
                    <td>房态</td>
                    <td><select>
                        <option>空闲</option>
                        <option>有人</option>
                        
                    </select></td>
                </tr>
                <tr>
                    <td></td>
                    <td><button @click="Add" class="btn btn-primary">添加</button></td>
                </tr>
            </tbody>
        </table>
    </div>
</template>

<script setup lang="ts">

const Add=()=>{
    alert("添加成功")
}

</script>

<style scoped>

</style>